package com.ftg.exam.manage.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zwl
 * Create on 2019/9/2 15:36
 * function
 */
public class Difficulties {
    private int id;
    private String difficulties;

    private int pid;
    private int parentId;
    private boolean open=true;

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public List<Difficulties> getChildren() {
        return children;
    }

    public void setChildren(List<Difficulties> children) {
        this.children = children;
    }

    private List<Difficulties> children=new ArrayList<Difficulties>();



    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDifficulties() {
        return difficulties;
    }

    public void setDifficulties(String difficulties) {
        this.difficulties = difficulties;
    }
}
